package com.books.model.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Value;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author ZhouRui
 * @title: 码上就来
 * @projectName cbstore-spring-boot
 * @description: TODO
 * @date 2021/10/1113:53
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class BuyOrder implements Serializable {
    @TableId(value = "buy_id")
    String buyId;
    Integer userId;
    String buyTime;
    Integer stateId;
    Integer payId;
    Integer addressId;
    Double totalMoney;
}
